/**
 * 
 * @class NG.response.GetMap
 * @extends NG.response.Response
 */
NG.response.GetMap = Ext.extend(NG.response.Response, {
	mapUrl: null,
	
	constructor: function(config){
		NG.response.TiledProjectInfo.superclass.constructor.call(this, config);
	},
	
	/**
	 * Parses given xmlData (response data) <br>
	 * Fulfills {NG.response.GetMap} members according to parsed xml data
	 * 
	 * @param {String} xmlData - response data
	 * Called by {@link NG.response.Response.constructor}
	 */
	init: function (xmlData) {
		NG.response.GetMap.superclass.init.call(this, xmlData);
		var mapUrl = fleegix.xml.parse(fleegix.xml.createDoc(xmlData), 'string').string;
		this.mapUrl = mapUrl;
	},
	
	/**
	 * Getter for map png url
	 * 
	 * @return {URL} map url path
	 */
	getMapUrl: function (){
		return this.mapUrl;
	}

});
